package com.qm.console.dao.dm;

import com.qm.console.dao.model.AccountRegisterStatistics;
import com.qm.console.dao.model.MarketStatistics;
import com.qm.console.dao.model.MarketStatisticsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MarketStatisticsMapper {
    long countByExample(MarketStatisticsExample example);

    int deleteByExample(MarketStatisticsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MarketStatistics record);

    int insertSelective(MarketStatistics record);

    List<MarketStatistics> selectByExample(MarketStatisticsExample example);

    MarketStatistics selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MarketStatistics record, @Param("example") MarketStatisticsExample example);

    int updateByExample(@Param("record") MarketStatistics record, @Param("example") MarketStatisticsExample example);

    int updateByPrimaryKeySelective(MarketStatistics record);

    int updateByPrimaryKey(MarketStatistics record);
    
    int totalCount();

    List<MarketStatistics> selectAll(@Param("offset") int offset, @Param("pageSize") int pageSize);
}